package com.fy.model;

import java.sql.Date;

/**
 * 新闻实体类
 * @author 小叶
 */
public class News {
	private Integer newsid; // 新闻ID
	private String title; // 新闻标题
	private String author; // 新闻作者
	private String source; // 新闻来源
	private String content; // 新闻来源
	private Date time; // 发布时间
	public Integer getNewsid() {
		return newsid;
	}
	public void setNewsid(Integer newsid) {
		this.newsid = newsid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
}